package cn.jasonone.him.exception;

import cn.hutool.core.util.StrUtil;

/**
 * 统一异常类
 * 
 * @author Jason
 *
 */
public class HimException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public HimException() {
		super();
	}

	public HimException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace,
			Object... args) {
		super(StrUtil.format(message, args), cause, enableSuppression, writableStackTrace);
	}

	public HimException(String message, Throwable cause, Object... args) {
		super(StrUtil.format(message, args), cause);
	}

	public HimException(String message, Object... args) {
		super(StrUtil.format(message, args));
	}

	public HimException(Throwable cause) {
		super(cause);
	}

}
